package DDBMapper.manifest;


import DDBMapper.ClassManifest;
import DDBMapper.DDBTypes;
import DDBMapper.model.Content;

import java.util.HashMap;
import java.util.Map;

public class ContentManifest implements ClassManifest<Content> {

	@Override
	public Map<String, DDBTypes> getTypeMap() {
		return new HashMap<String, DDBTypes>() {
			private static final long serialVersionUID = 640584934478657444L;
			{
				put("key", DDBTypes.S);
				put("title", DDBTypes.S);
				put("text", DDBTypes.S);
				put("type", DDBTypes.S);
                put("url", DDBTypes.S);
			}
		};
	}

	@Override
	public Class<Content> getCastType() {
		return Content.class;
	}
	
}